﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ChainOfResponsibilityPattern;

internal class Chief : AbstractAuditer
{
    public override void Audit(ApplyContext context)
    {
        /*if (context.Hours <= 32)
        {
            context.AuditResult = true;
            context.AuditRemark = "Enjoy you vocation";
            Console.WriteLine($"{this.GetType().Name} {Name} 审批通过了{context.Name} {context.Hours}小时的请假");
        }
        else
        {
            InvokNext(context);
        }*/
        AuditAndInvokNext(context);
    }
}
